package com.zlll.winner.enums.mall;

import com.zlll.winner.enums.biz.Constant;

public class MallEnum {

    public enum StatusEnum implements Constant {
        NOTPAY("待兑换",0),
        PAY("已兑换",1),
        cancel("已取消",2),
        fail("兑换失败",3),

        ;

        private String desc;
        private int value;

        StatusEnum(String desc, int val) {
            this.desc = desc;
            this.value = val;
        }

        @Override
        public String desc() {
            return desc;
        }

        @Override
        public int val() {
            return value;
        }
    }




}